3.1.78 \(\int \frac {x^9 (A+B x^2)}{(b x^2+c x^4)^3} \, dx\)

Optimal. Leaf size=67 \[ -\frac {b (b B-A c)}{4 c^3 \left (b+c x^2\right )^2}+\frac {2 b B-A c}{2 c^3 \left (b+c x^2\right )}+\frac {B \log \left (b+c x^2\right )}{2 c^3} \]

________________________________________________________________________________________

Rubi [A]  time = 0.08, antiderivative size = 67, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {1584, 446, 77} \begin {gather*} -\frac {b (b B-A c)}{4 c^3 \left (b+c x^2\right )^2}+\frac {2 b B-A c}{2 c^3 \left (b+c x^2\right )}+\frac {B \log \left (b+c x^2\right )}{2 c^3} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(x^9*(A + B*x^2))/(b*x^2 + c*x^4)^3,x]

[Out]

-(b*(b*B - A*c))/(4*c^3*(b + c*x^2)^2) + (2*b*B - A*c)/(2*c^3*(b + c*x^2)) + (B*Log[b + c*x^2])/(2*c^3)

Rule 77

Int[((a_.) + (b_.)*(x_))*((c_) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Int[ExpandIntegran
d[(a + b*x)*(c + d*x)^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, n}, x] && NeQ[b*c - a*d, 0] && ((ILtQ[
n, 0] && ILtQ[p, 0]) || EqQ[p, 1] || (IGtQ[p, 0] && ( !IntegerQ[n] || LeQ[9*p + 5*(n + 2), 0] || GeQ[n + p + 1
, 0] || (GeQ[n + p + 2, 0] && RationalQ[a, b, c, d, e, f]))))

Rule 446

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.), x_Symbol] :> Dist[1/n, Subst[Int
[x^(Simplify[(m + 1)/n] - 1)*(a + b*x)^p*(c + d*x)^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, m, n, p, q}, x] &&
 NeQ[b*c - a*d, 0] && IntegerQ[Simplify[(m + 1)/n]]

Rule 1584

Int[(u_.)*(x_)^(m_.)*((a_.)*(x_)^(p_.) + (b_.)*(x_)^(q_.))^(n_.), x_Symbol] :> Int[u*x^(m + n*p)*(a + b*x^(q -
 p))^n, x] /; FreeQ[{a, b, m, p, q}, x] && IntegerQ[n] && PosQ[q - p]

Rubi steps

\begin {align*} \int \frac {x^9 \left (A+B x^2\right )}{\left (b x^2+c x^4\right )^3} \, dx &=\int \frac {x^3 \left (A+B x^2\right )}{\left (b+c x^2\right )^3} \, dx\\ &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {x (A+B x)}{(b+c x)^3} \, dx,x,x^2\right )\\ &=\frac {1}{2} \operatorname {Subst}\left (\int \left (\frac {b (b B-A c)}{c^2 (b+c x)^3}+\frac {-2 b B+A c}{c^2 (b+c x)^2}+\frac {B}{c^2 (b+c x)}\right ) \, dx,x,x^2\right )\\ &=-\frac {b (b B-A c)}{4 c^3 \left (b+c x^2\right )^2}+\frac {2 b B-A c}{2 c^3 \left (b+c x^2\right )}+\frac {B \log \left (b+c x^2\right )}{2 c^3}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.03, size = 64, normalized size = 0.96 \begin {gather*} \frac {-b c \left (A-4 B x^2\right )-2 A c^2 x^2+3 b^2 B+2 B \left (b+c x^2\right )^2 \log \left (b+c x^2\right )}{4 c^3 \left (b+c x^2\right )^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(x^9*(A + B*x^2))/(b*x^2 + c*x^4)^3,x]

[Out]

(3*b^2*B - 2*A*c^2*x^2 - b*c*(A - 4*B*x^2) + 2*B*(b + c*x^2)^2*Log[b + c*x^2])/(4*c^3*(b + c*x^2)^2)

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^9 \left (A+B x^2\right )}{\left (b x^2+c x^4\right )^3} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[(x^9*(A + B*x^2))/(b*x^2 + c*x^4)^3,x]

[Out]

IntegrateAlgebraic[(x^9*(A + B*x^2))/(b*x^2 + c*x^4)^3, x]

________________________________________________________________________________________

fricas [A]  time = 0.39, size = 89, normalized size = 1.33 \begin {gather*} \frac {3 \, B b^{2} - A b c + 2 \, {\left (2 \, B b c - A c^{2}\right )} x^{2} + 2 \, {\left (B c^{2} x^{4} + 2 \, B b c x^{2} + B b^{2}\right )} \log \left (c x^{2} + b\right )}{4 \, {\left (c^{5} x^{4} + 2 \, b c^{4} x^{2} + b^{2} c^{3}\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^9*(B*x^2+A)/(c*x^4+b*x^2)^3,x, algorithm="fricas")

[Out]

1/4*(3*B*b^2 - A*b*c + 2*(2*B*b*c - A*c^2)*x^2 + 2*(B*c^2*x^4 + 2*B*b*c*x^2 + B*b^2)*log(c*x^2 + b))/(c^5*x^4
+ 2*b*c^4*x^2 + b^2*c^3)

________________________________________________________________________________________

giac [A]  time = 0.19, size = 55, normalized size = 0.82 \begin {gather*} \frac {B \log \left ({\left | c x^{2} + b \right |}\right )}{2 \, c^{3}} - \frac {3 \, B c x^{4} + 2 \, B b x^{2} + 2 \, A c x^{2} + A b}{4 \, {\left (c x^{2} + b\right )}^{2} c^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^9*(B*x^2+A)/(c*x^4+b*x^2)^3,x, algorithm="giac")

[Out]

1/2*B*log(abs(c*x^2 + b))/c^3 - 1/4*(3*B*c*x^4 + 2*B*b*x^2 + 2*A*c*x^2 + A*b)/((c*x^2 + b)^2*c^2)

________________________________________________________________________________________

maple [A]  time = 0.05, size = 80, normalized size = 1.19 \begin {gather*} \frac {A b}{4 \left (c \,x^{2}+b \right )^{2} c^{2}}-\frac {B \,b^{2}}{4 \left (c \,x^{2}+b \right )^{2} c^{3}}-\frac {A}{2 \left (c \,x^{2}+b \right ) c^{2}}+\frac {B b}{\left (c \,x^{2}+b \right ) c^{3}}+\frac {B \ln \left (c \,x^{2}+b \right )}{2 c^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^9*(B*x^2+A)/(c*x^4+b*x^2)^3,x)

[Out]

1/2*B*ln(c*x^2+b)/c^3-1/2/c^2/(c*x^2+b)*A+1/c^3/(c*x^2+b)*b*B+1/4*b/c^2/(c*x^2+b)^2*A-1/4*b^2/c^3/(c*x^2+b)^2*
B

________________________________________________________________________________________

maxima [A]  time = 1.33, size = 72, normalized size = 1.07 \begin {gather*} \frac {3 \, B b^{2} - A b c + 2 \, {\left (2 \, B b c - A c^{2}\right )} x^{2}}{4 \, {\left (c^{5} x^{4} + 2 \, b c^{4} x^{2} + b^{2} c^{3}\right )}} + \frac {B \log \left (c x^{2} + b\right )}{2 \, c^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^9*(B*x^2+A)/(c*x^4+b*x^2)^3,x, algorithm="maxima")

[Out]

1/4*(3*B*b^2 - A*b*c + 2*(2*B*b*c - A*c^2)*x^2)/(c^5*x^4 + 2*b*c^4*x^2 + b^2*c^3) + 1/2*B*log(c*x^2 + b)/c^3

________________________________________________________________________________________

mupad [B]  time = 0.11, size = 70, normalized size = 1.04 \begin {gather*} \frac {\frac {3\,B\,b^2-A\,b\,c}{4\,c^3}-\frac {x^2\,\left (A\,c-2\,B\,b\right )}{2\,c^2}}{b^2+2\,b\,c\,x^2+c^2\,x^4}+\frac {B\,\ln \left (c\,x^2+b\right )}{2\,c^3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x^9*(A + B*x^2))/(b*x^2 + c*x^4)^3,x)

[Out]

((3*B*b^2 - A*b*c)/(4*c^3) - (x^2*(A*c - 2*B*b))/(2*c^2))/(b^2 + c^2*x^4 + 2*b*c*x^2) + (B*log(b + c*x^2))/(2*
c^3)

________________________________________________________________________________________

sympy [A]  time = 0.93, size = 70, normalized size = 1.04 \begin {gather*} \frac {B \log {\left (b + c x^{2} \right )}}{2 c^{3}} + \frac {- A b c + 3 B b^{2} + x^{2} \left (- 2 A c^{2} + 4 B b c\right )}{4 b^{2} c^{3} + 8 b c^{4} x^{2} + 4 c^{5} x^{4}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**9*(B*x**2+A)/(c*x**4+b*x**2)**3,x)

[Out]

B*log(b + c*x**2)/(2*c**3) + (-A*b*c + 3*B*b**2 + x**2*(-2*A*c**2 + 4*B*b*c))/(4*b**2*c**3 + 8*b*c**4*x**2 + 4
*c**5*x**4)

________________________________________________________________________________________